package pers.vic.xqd.provider;

import java.util.HashMap;
import java.util.Map;

/**
 * 描述:
 * @author Vic.xu
 * @date 2022-02-07 17:53
 */
public class LocalRegister {

    private static Map<String, Class> map = new HashMap<>();

    public static void regist(String interfaceName, Class impleClass){
        map.put(interfaceName, impleClass);
    }

    public static Class get(String interfaceName){
        return map.get(interfaceName);
    }
}
